package com.ruoyi.common.constant;

public class TextConstant {
	public static final String GLOBAL_NO_PERMISSION ="对不起，您没有此操作权限！";
	public static final String ILLEGAL_REQUEST="非法请求";
	
	
	/** 字典编号为整数 */
	public static final String DICT_ENTRY_ERROR= "请填写正确字典编号";
	/** 字典选择项不能为空 */
	public static final String DICT_SUBENTRY_NOEMPTY= "字典选择项不能为空";
	/** 字典显示项不能为空 */
	public static final String DICT_PROMOT_NOEMPTY= "字典显示项不能为空";
	/** 字典选择项已经存在 */
	public static final String DICT_SUBENTRY_EXISTS= "字典选择项已经存在";

	public static final String SUCCESS 					= "success";			//校验通过返回值
	
	//获取权限列表
	public static final String GET_RESOURCE_LIST_NULL 	= "权限列表为空";
	public static final String GET_RESOURCE_LIST_FAIL 	= "获取权限列表出错";
	
	//角色管理
	public static final String VALIDATE_ROLE_ID_NULL		= "角色ID不能为空";
	public static final String VALIDATE_ROLE_CODE_NULL		= "角色代码不能为空";
	public static final String VALIDATE_ROLE_CODE_EXIST		= "角色代码已经存在";
	public static final String VALIDATE_ROLE_NAME_NULL		= "角色名称不能为空";
	public static final String VALIDATE_ROLE_NAME_EXIST		= "角色名称已经存在";
	public static final String VALIDATE_RESOURCE_LIST_NULL	= "权限列表不能为空";
	public static final String VALIDATE_RESOURCE_LIST_ERROR	= "权限列表有误";
	public static final String SAVE_RESOURCE_LIST_ERROR		= "新增角色出错";
	public static final String EDIT_ROLE_ERROR				= "修改角色出错";
	public static final String DEL_ROLE_ERROR				= "删除角色出错";

	public static final String MPHONE_EMPTY = "手机号码不能为空";
	public static final String MPHONE_INVALID = "手机号码格式错误";
	public static final String MPHONE_NOTEXISTS = "手机号码不存在";
	public static final String SMS_SEND_FAIL = "短信发送失败";
    public static final String SMS_SEND_SUCESS = "发送成功";
    public static final String SMS_TEMPLATE_NOTEXISTS = "短信验证码模板不存在";
	public static final String SMS_SEND_COUNT_LIMIT = "您当日短信发送次数过多，请隔日再试";

	// 验证码错误
	public static final String VALIDATECODE_ERROR = "验证码错误";
	public static final String VALIDATECODE_EXPIRED = "验证码已失效";
	public static final String VALIDATECODE_NOT_CREATE = "请先获取验证码";
	public static final String VALIDATECODE_FAIL = "校验验证码异常";

	//上传图片错误提示
	public static final String UPLOAD_FILE_WRONG_TYPE				= "上传文件格式不正确";
	public static final String UPLOAD_FILE_WRONG_SIZE				= "上传文件太大";
	public static final String UPLOAD_FILE_FAIL						= "上传文件失败";
	public static final String UPLOAD_FILE_EXCEPTION					= "文件上传异常";
	public static final String UPLOAD_FILE_SUCCESS						= "文件上传成功";




}
